$fontSize_14: 0.8vw;
$fontSize_16: 0.9vw;
$fontSize_18: 1vw;
$fontSize_22: 1.1vw;
$fontSize_24: 1.26vw;
$fontSize_28: 1.3vw;
$fontSize_32: 1.4vw;
$fontSize_36: 1.8vw;
$fontSize_40: 2.1vw;
$fontSize_48: 2.5vw;
$fontSize_50: 2.6vw;
$fontSize_54: 2.7vw;
$fontSize_64: 3.2vw;
$fontSize_70: 3.5vw;
$fontSize_90: 4.5vw;
$fontSize_100: 5vw;
$fontSize_200: 10vw;
$f: 19.2;

.home {
  position: relative;
  width: 100%;
  padding-top: 2vw;

  .main{
    overflow: hidden;
  }
  .bg_shape {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    width: 100%;

    img {
      width: 100%;
      object-fit: contain;
    }
  }

  .section {
    display: flex;
    justify-content: space-between;
    align-items: center;

    .title {
      position: relative;
      display: inline-block;

      img {
        width: 540/$f+vw;
      }

      p {
        position: absolute;
        color: #FFF;
        font-size: $fontSize_40;
        font-weight: bold;
        right: 5%;
        top: 28%;
        text-transform: uppercase;
      }
    }

    .rpic {
      position: relative;

      .pic1 {
        img {
          width: 310/$f+vw;
        }
      }

      .pic2 {
        position: absolute;
        right: 0;
        top: 30%;

        img {
          width: 150/$f+vw;
        }
      }
    }
  }
  .section1{
    margin: -8vw 8vw 0 8vw;
    display: flex;
    justify-content: space-between;
    .l{
      color: #000;
      font-weight: bold;
      font-size: $fontSize_18;
      text-indent: 1.5vw;
      line-height: 1.7;
      width: 48%;
      margin-top: 5vw;
      span{
        font-size: $fontSize_32;
      }
    }
    .pic{
      width:45%;
      img{
        width: 100%;
        display: block;
        transition: all 600ms;
      }
      &:hover{
        img{
          transform: scale(1.05);
        }
      }
    }
  }
  .section2{
    margin: 6vw 8vw;
    .t{
      color: #000;
      font-size: $fontSize_64;
      font-weight: bold;
      position: relative;
      .storke{
        position: absolute;
        left: 0;
        top:0;
        transform: skewX(15deg);
        opacity: 0;
      }
    }
    .des{
      margin: 2vw 0 0 20vw;
      color: #000;
      font-weight: bold;
      font-size: $fontSize_18;
      text-indent: 1.5vw;
      line-height: 1.7;
      span{
        font-size: $fontSize_32;
      }
    }
  }

  .section3{
    padding: 4vw 8vw;
    position: relative;
    .sbg{
      position: absolute;
      left: 0;
      top:0;
      img{
        width: 152/$f+vw;
      }
    }
    .t{
      color: #000;
      font-size: $fontSize_64;
      font-weight: bold;
      position: relative;
      .storke{
        position: absolute;
        left: 0;
        top:0;
        transform: skewX(15deg);
        opacity: 0;
      }
    }
    .allItems{
      width: 100%;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      margin-top: 4vw;
      a{
        width: 48%;
        display: flex;
        gap: 4%;
        align-items: center;
        margin-bottom: 3.5vw;
        .pic{
          width: 40%;
          img{
            width: 100%;
            display: block;
            object-fit: cover;
            transition: all 600ms;
          }
        }
        .info{
          width: 60%;
          .p1{
            color: #000;
            font-size: $fontSize_28;
            font-weight: bold;
            line-height: 1.5;
            transition: all 600ms;
          }
          .des{
            color: #000;
            font-size: $fontSize_22;
            line-height: 1.5;
            font-family: 'Montserrat-Light';
            margin-top: 2vw;
          }
        }
        &:hover{
          .pic{
            img{
              transform: scale(1.05);
            }
          }
          .info{
            .p1{
              color:rgba(255, 128, 128, 1);
            }
          }
        }
      }
    }
  }

  .section4{
    margin: 6vw 8vw 8vw 8vw;
    .t{
      color: #000;
      font-size: $fontSize_64;
      font-weight: bold;
      position: relative;
      .storke{
        position: absolute;
        left: 0;
        top:0;
        transform: skewX(15deg);
        opacity: 0;
      }
    }
    .des{
      margin: 3vw 0 0 22vw;
      .item{
        color: #000;
        font-weight: bold;
        font-size: $fontSize_18;
        position: relative;
        margin-bottom: 1vw;
        &::before{
          content:'';
          display: block;
          position: absolute;
          left: -(20/$f+vw);
          top:50%;
          transform: translateY(-50%);
          width: 10/$f+vw;
          height: 10/$f+vw;
          border-radius: 50%;
          background-color: #000;
        }
        span{
          font-size: $fontSize_32;
        }
      }
    }
  }

  .section5{
    padding: 0 8vw 11vw 8vw;
    position: relative;
    .sbg{
      position: absolute;
      right:0;
      top:-6vw;
      img{
        width: 160/$f+vw;
      }
    }
    .t{
      color: #000;
      font-size: $fontSize_64;
      font-weight: bold;
      position: relative;
      .storke{
        position: absolute;
        left: 0;
        top:0;
        transform: skewX(15deg);
        opacity: 0;
      }
    }
    .content{
      display: flex;
      justify-content: space-between;
      margin: 3vw 0;
      .l{
        width: 46%;
        .t1{
          color: #000;
          font-weight: bold;
          font-size: $fontSize_18;
          span{
            font-size: $fontSize_32;
          }
        }
        .des{
          margin-top: 4vw;
          .item{
            color: #000;
            font-weight: bold;
            font-size: $fontSize_18;
            position: relative;
            margin-bottom: 0.8vw;
            line-height: 1.6;
            &::before{
              content:'';
              display: inline-block;
              width: 10/$f+vw;
              height: 10/$f+vw;
              border-radius: 50%;
              background-color: #000;
            }
            span{
              font-size: $fontSize_32;
            }
          }
        }
      }
      .r{
        width: 46%;
        .pic{
          overflow: hidden;
          img{
            width: 100%;
            display: block;
            object-fit: cover;
            transition: all 600ms;
          }
          &:hover{
            img{
              transform: scale(1.05);
            }
          }
        }
        a{
          background: #000;
          display: flex;
          align-items: center;
          justify-content: center;
          width: fit-content;
          padding: 1.4vw 3vw;
          margin-top: 2vw;
          p{
            color:white;
            font-size: $fontSize_18;
          }
          svg{
            margin-left: 10px;
            display: block;
            transition: all 600ms;
          }
          &:hover{
            svg{
              transform: translateX(10px);
            }
          }
        }
      }
    }
  }

  @media screen and (max-width: 1024px) {
    padding-top: 60px;
    .section{
      .title{
        img{
          width: 170px;
        }
        p{
          font-size: 12px;
        }
      }
    }
    .section1{
      margin: -10px 5% 0 5%;
      flex-direction: column;
      .l{
        width: 100%;
        font-size: 14px;
        margin-top: 0;
        span{
          font-size: 18px;
        }
      }
      .pic{
        width: 100%;
        margin-top: 10px;
      }
    }
    .section2{
      margin: 50px 5%;
      .t{
        font-size: 24px;
      }
      .des{
        font-size: 14px;
        margin: 20px 0 0 10%;
        text-indent: 14px;
        span{
          font-size: 18px;
        }
      }
    }
    .section3{
      padding: 30px 5%;
      .t{
        font-size: 24px;
      }
      .allItems{
        margin-top: 30px;
        a{
          width: 100%;
          margin-bottom: 20px;
          .pic{
            width: 35%;
          }
          .info{
            width: 65%;
            .p1{
              font-size: 16px;
            }
            .des{
              font-size: 12px;
              margin-top: 15px;
            }
          }
        }
      }
    }
    .section4{
      margin: 40px 5% 60px 5%;
      .t{
        font-size: 24px;
      }
      .des{
        margin: 20px 0 0 10%;
        .item{
          font-size: 14px;
          line-height: 1.7;
          &::before{
            width: 6px;
            height: 6px;
            top: 15px;
            left: -17px;
          }
          span{
            font-size: 18px;
          }
        }
      }
    }
    .section5{
      padding: 0 5% 50px 5%;
      .t{
        font-size: 24px;
      }
      .content{
        flex-direction: column;
        .l{
          width: 100%;
          .t1{
            font-size: 13px;
            span{
              font-size: 18px;
            }
          }
          .des{
            margin-top: 20px;
            .item{
              font-size: 14px;
              &::before{
                width: 6px;
                height: 6px;
              }
              span{
                font-size: 18px;
              }
            }
          }
        }
        .r{
          width: 100%;
          margin-top: 15px;
          a{
            margin-top: 15px;
            padding: 15px 20px;
            p{
              font-size: 16px;
            }
          }
        }
      }
    }
  }
}